﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Enter.Config;
using Enter.Entity;

namespace Enter.Services.Mail
{
   
    /// <summary>
    /// 卖家中心商品管理
    /// </summary>
    public partial interface IMail
    {
        /// <summary>
        /// 修改商品标题
        /// </summary>
        /// <param name="id"></param>
        /// <param name="shopNO"></param>
        /// <param name="title"></param>
        /// <returns></returns>
        bool UpdateTitle(int id, string shopNO, string title);
        /// <summary>
        /// 获取店铺等待上架的商品
        /// </summary>
        /// <param name="entity"></param>
        /// <param name="shopNO">店铺</param>
        /// <param name="status">状态</param>
        /// <param name="classNo">类目</param>
        /// <param name="title">商品名称</param>
        /// <param name="outerId">商户编号</param>
        /// <param name="sprice">价格</param>
        /// <param name="eprice"></param>
        /// <param name="startnum">销售数量</param>
        /// <param name="endnum"></param>
        /// <param name="orderCol">排序字段</param>
        /// <param name="orderType">排序方式</param>
        /// <param name="totalPages">总页数</param>
        /// <param name="totalCount">总条数</param>
        /// <returns></returns>
        DataTable GetWaitGoodsByShop(string shopNO, EnumGoodStatus status, string classNo, string title, string outerId, decimal sprice, decimal eprice, int startnum, int endnum, EnumGoodOrder orderCol, EnumOrderType orderType, int pageSize, int currentPageIndex, out int totalPages, out int totalCount);
          /// <summary>
        /// 商品库存
        /// </summary>
        /// <param name="gNo"></param>
        /// <returns></returns>
        List<T103_Goods_ItemEntity> getGoodItem(string gNo);
    }
}
